//
//  AlertViewController.m
//  一点互助
//
//  Created by apple  on 16/9/7.
//  Copyright © 2016年 apple . All rights reserved.
//

#import "AlertViewController.h"

@interface AlertViewController ()

@end

@implementation AlertViewController

- (instancetype)initWithTitle:(NSString *)title
{
    self = [super init];
    if (self) {
        self.title = @"温馨提示";
        self.message = title;
        UIAlertAction *alertAction = [UIAlertAction actionWithTitle:@"确认" style:UIAlertActionStyleDefault handler:nil];
        [self addAction:alertAction];
    }
    return self;
}

- (void)viewDidLoad {
    [super viewDidLoad];
}

@end
